//
//  UIImageView+TXWebImage.h
//  COO
//
//  Created by YM on 2017/5/5.
//  Copyright © 2017年 Tincent. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImageView (TXWebImage)

/**
 Set the view's `image` with a specified URL.
 
 @param imageURL    The image url (remote or local file path).
 @param placeholder The image to be set initially, until the image request finishes.
 */
- (void)tx_setImageWithURL:(NSURL *)imageURL
          placeholderImage:(UIImage *)placeholder;

/**
 Set the view's `image` with a specified URL.
 
 @param imageURL    The image url (remote or local file path).
 @param placeholder The image to be set initially, until the image request finishes.
 */
- (void)tx_setImageWithURL:(NSURL *)imageURL
          placeholderImage:(UIImage *)placeholder
                 completed:(void (^)(UIImage * image_, NSURL * url_, UIImageView *imageView_))completed;

@end
